﻿using System;
using System.Runtime.InteropServices;

namespace pinlib.functions
{
    internal class PSAPI
    {

        [DllImport("Psapi.dll", SetLastError = true)]
        internal static extern bool EmptyWorkingSet(IntPtr hProcess);
         
        [DllImport("Psapi.dll", SetLastError = true)]
        internal static extern Boolean EnumDeviceDrivers(UInt32[] lpImageBase, uint cb, out uint lpcbNeeded );
        [DllImport("Psapi.dll", SetLastError = true)]
        internal static extern Boolean EnumPageFiles(Callbacks.EnumPageFilesProc pCallbackRoutine,IntPtr lpContext );
/*
EnumProcessModules
EnumProcessModulesEx
EnumProcesses
GetDeviceDriverBaseNameA
GetDeviceDriverBaseNameW
GetDeviceDriverFileNameA
GetDeviceDriverFileNameW
GetMappedFileNameA
GetMappedFileNameW
GetModuleBaseNameA
GetModuleBaseNameW
GetModuleFileNameExA
GetModuleFileNameExW
GetModuleInformation
GetPerformanceInfo
GetProcessImageFileNameA
GetProcessImageFileNameW
GetProcessMemoryInfo
GetWsChanges
GetWsChangesEx
InitializeProcessForWsWatch
QueryWorkingSet
QueryWorkingSetEx
         */
    }
}
